package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 代理信息对象 dzbq_agents
 * 
 * @author tianxingxia
 * @date 2025-02-07
 */
public class DzbqAgents extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 代理ID */
    private Integer agentId;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String trueName;

    /** 手机 */
    @Excel(name = "手机")
    private String accountMobile;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickname;

    /** 头像 */
    @Excel(name = "头像")
    private String headimg;

    /** 代理区域 */
    @Excel(name = "代理区域")
    private String regionNames;

    /** 代理价格 */
    @Excel(name = "代理价格")
    private BigDecimal agentPrice;

    /** 介绍 */
    @Excel(name = "介绍")
    private String description;

    /** 代理状态 */
    @Excel(name = "代理状态")
    private Integer state;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dateCreated;

    public void setAgentId(Integer agentId) 
    {
        this.agentId = agentId;
    }

    public Integer getAgentId() 
    {
        return agentId;
    }
    public void setTrueName(String trueName) 
    {
        this.trueName = trueName;
    }

    public String getTrueName() 
    {
        return trueName;
    }
    public void setAccountMobile(String accountMobile) 
    {
        this.accountMobile = accountMobile;
    }

    public String getAccountMobile() 
    {
        return accountMobile;
    }
    public void setNickname(String nickname) 
    {
        this.nickname = nickname;
    }

    public String getNickname() 
    {
        return nickname;
    }
    public void setHeadimg(String headimg) 
    {
        this.headimg = headimg;
    }

    public String getHeadimg() 
    {
        return headimg;
    }
    public void setRegionNames(String regionNames) 
    {
        this.regionNames = regionNames;
    }

    public String getRegionNames() 
    {
        return regionNames;
    }
    public void setAgentPrice(BigDecimal agentPrice) 
    {
        this.agentPrice = agentPrice;
    }

    public BigDecimal getAgentPrice() 
    {
        return agentPrice;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setDateCreated(Date dateCreated) 
    {
        this.dateCreated = dateCreated;
    }

    public Date getDateCreated() 
    {
        return dateCreated;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("agentId", getAgentId())
            .append("trueName", getTrueName())
            .append("accountMobile", getAccountMobile())
            .append("nickname", getNickname())
            .append("headimg", getHeadimg())
            .append("regionNames", getRegionNames())
            .append("agentPrice", getAgentPrice())
            .append("description", getDescription())
            .append("state", getState())
            .append("dateCreated", getDateCreated())
            .toString();
    }
}
